package com.lastproject.dto;

import java.io.Serializable;

/**
 * 
 * @author gandila
 * 
 */
public class ReviewDTO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String text;
	private int countViews;
	private int userId;
	private int bookId;
	private String userFullName;

	public ReviewDTO() {
		super();
	}

	public ReviewDTO(int id, int idUser, int idBook, String text, int countViews) {
		super();
		this.id = id;
		this.text = text;
		this.countViews = countViews;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getCountViews() {
		return countViews;
	}

	public void setCountViews(int countViews) {
		this.countViews = countViews;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserFullName() {
		return userFullName;
	}

	public void setUserFullName(String userFullName) {
		this.userFullName = userFullName;
	}

	public int getBookId() {
		return bookId;
	}

	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

}
